﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "GcmpDwgDxfInterface.h"
#include <string>

namespace gcmp
{
    class IModelView;
    class ICADDimension;
    class ElementId;

    /// \brief 由用户定制某些特定element的导出接口
    class GCMP_DWG_DXF_INTERFACE_EXPORT IDimensionExportDwgCustomizer
    {
    public:
        /// \brief 获取用户定制的标注列表
        /// \param pModelView 当前视图
        /// \return 返回标注列表
        virtual std::vector<OwnerPtr<ICADDimension>> GetDimensions(const IModelView* pModelView) const = 0;

    public:
        virtual ~IDimensionExportDwgCustomizer();
    };

}


